package com.self.common.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @version v1.0
 * @ClassName: JwtTokenDto
 * @Description:
 * @Author: Mac
 * @Date: 2022/6/2 22:10
 */
@ApiModel("获取token数据")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class JwtTokenDto implements Serializable {
    private static final long serialVersionUID = -258020382045926895L;

    @JsonProperty("access_token")
    private String accessToken;

    @JsonProperty("token_type")
    private String tokenType;

    @JsonProperty("refresh_token")
    private String refreshToken;

    @JsonProperty("expires_in")
    private Long expireIn;

    private String scope;

    private String jti;


}
